package com.demo.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 课程安排实体
 */
@TableName(value = "course_plan")
@Data
public class CoursePlan implements Serializable {

    /** 主键ID */
    @TableId(type = IdType.AUTO)
    private Long cpId;

    /** 课程ID */
    private String cpCourseId;

    /** 班级ID */
    private Long cpClassId;

    /** 教师ID */
    private Long cpTeacherId;

    /** 教室ID */
    private String cpRoomId;

    /** 上课开始时间 */
    private LocalDateTime cpStartTime;

    /** 下课结束时间 */
    private LocalDateTime cpEndTime;

    /** 星期(1-7) */
    private Integer cpWeekday;

    /** 备注 */
    private String cpRemark;

    /** 修改时间 */
    private LocalDateTime cpUpdateDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}


